package com.laowang.project.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import com.laowang.framework.web.domain.PageObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 车友会管理对象 my_cyh_group
 *
 * @author laowang
 * @date 2023-04-26
 */
@NoArgsConstructor
@Data
public class MyCyhGroup extends PageObject implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 车友会名称
     */
    @Excel(name = "车友会名称")
    @ApiModelProperty(value = "车友会名称", required = false)
    private String title;

    /**
     * LOGO
     */
    @Excel(name = "LOGO")
    @ApiModelProperty(value = "LOGO", required = false)
    private String img;

    /**
     * 排序
     */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序", required = false)
    private Integer weight;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间", required = false)
    private Date ctime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间", required = false)
    private Date utime;

    /**
     * 最新相册
     */
    @Excel(name = "最新相册")
    @ApiModelProperty(value = "最新相册", required = false)
    private String imgs;

    /**
     * 参与人数
     */
    @Excel(name = "参与人数")
    @ApiModelProperty(value = "参与人数", required = false)
    private Integer nums;

    /**
     * 车友会简介
     */
    @Excel(name = "车友会简介")
    @ApiModelProperty(value = "车友会简介", required = false)
    private String intro;

    /**
     * 参与条件
     */
    @Excel(name = "参与条件")
    @ApiModelProperty(value = "参与条件", required = false)
    private String rules;

    /**
     * 是否审核
     */
    @Excel(name = "是否审核")
    @ApiModelProperty(value = "是否审核", required = false)
    private Integer auditStatus;


}
